<?php

switch($_GET['act']){
case "home":require("controllers/anime/list_home.php");
break;
case "tag":require("controllers/anime/tag.php");
break;

case "tag4":require("controllers/anime/tag4.php");
break;
case "list_anime":require("controllers/anime/list_anime.php");
break;
case "list_theloai":require("controllers/anime/list_anime_theloai.php");
break;
case "list_theloaifk":require("controllers/anime/list_anime_theloaifk.php");
break;
case "list_theloai_category":require("controllers/anime/list_anime_theloai_category.php");
break;
case "list_tinhtrang":require("controllers/anime/list_anime_tinhtrang.php");
break;
case "danhsach":require("controllers/anime/list_anime_danhsach.php");
break;
case "danhsach_remote":require("controllers/anime/list_anime_danhsach_remote.php");
break;
case "update":require("controllers/anime/list_anime_update.php");
break;
case "fansub":require("controllers/anime/list_anime_fansub.php");
break;
case "fansub_manga":require("controllers/anime/list_anime_fansub_manga.php");
break;
case "command":require("controllers/anime/command.php");
break;

case "history":require("controllers/anime/list_anime_history.php");
break;
case "episode":
require("controllers/anime/view_ep.php");
break;
case "view":
require("controllers/anime/view.php");
break;
case "scan":require("controllers/anime/scan.php");
break;
case "scan2":require("controllers/anime/scan2.php");
break;
case "ajax":
require 'controllers/anime/ajax.php';
break;
case "ajax2":
require 'controllers/anime/ajax_scan.php';
break;	


case "ads":
require 'controllers/anime/ads.php';
break;	

}



if(isset($_POST)){
	switch($_POST['act']){
		case 'pagination':
		require("controllers/anime/ajax.php");
		break;
		case 'fchuong':
		require("controllers/anime/ajax.php");
		break;
	}
}





?>